package com.usian.ai;

import com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

import javax.management.MXBean;

/**
 * @TODO:
 * @Author:baimu
 * @Date:2024 12 03 15 01
 **/
@SpringBootApplication
@MapperScan("com.usian.ai.mapper")
public class AiApplication {

    public static void main(String[] args) {
        org.springframework.boot.SpringApplication.run(AiApplication.class, args);
    }


    @Bean
    PaginationInnerInterceptor paginationInnerInterceptor(){
        return new PaginationInnerInterceptor();
    }
}
